package com.chianghao.rock.system.entity;

import com.chianghao.core.db.annotation.Entity;
import com.chianghao.core.db.annotation.Property;

@Entity(title="后台用户权限表",prefix = "sys")
public class UserRole {


    @Property(title ="用户主键",primary = true)
    private Long userId;

    @Property(title ="角色主键",primary = true)
    private Long roleId;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

    
    
}
